package com.mop.app.dal.query;

import java.util.Date;

/**
 * 用户表查询对象
 *
 * @author wchen
 * @since 2020-02-27
 */
public class AppUserQuery {

    /**
     * 手机号
     */
    private Integer phone;

    /**
     * 密码
     */
    private String password;

    /**
     * 删除标识 1是 0否
     */
    private String deleteFlag;

    /**
     * 创建时间
     */
    private Date gmtCreateBegin;

    private Date gmtCreateEnd;

    /**
     * 修改时间
     */
    private Date gmtModifiedBegin;

    private Date gmtModifiedEnd;

    public Integer getPhone() {
        return phone;
    }

    public AppUserQuery setPhone(Integer phone) {
        this.phone = phone;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public AppUserQuery setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public AppUserQuery setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
        return this;
    }

    public Date getGmtCreateBegin() {
        return gmtCreateBegin;
    }

    public AppUserQuery setGmtCreateBegin(Date gmtCreateBegin) {
        this.gmtCreateBegin = gmtCreateBegin;
        return this;
    }

    public Date getGmtCreateEnd() {
        return gmtCreateEnd;
    }

    public AppUserQuery setGmtCreateEnd(Date gmtCreateEnd) {
        this.gmtCreateEnd = gmtCreateEnd;
        return this;
    }


    public Date getGmtModifiedBegin() {
        return gmtModifiedBegin;
    }

    public AppUserQuery setGmtModifiedBegin(Date gmtModifiedBegin) {
        this.gmtModifiedBegin = gmtModifiedBegin;
        return this;
    }

    public Date getGmtModifiedEnd() {
        return gmtModifiedEnd;
    }

    public AppUserQuery setGmtModifiedEnd(Date gmtModifiedEnd) {
        this.gmtModifiedEnd = gmtModifiedEnd;
        return this;
    }



    @Override
    public String toString() {
        return "AppUser{" +
        "phone=" + phone +
        ", password=" + password +
        ", deleteFlag=" + deleteFlag +
        ", gmtCreateBegin=" + gmtCreateBegin +
        ", gmtCreateEnd=" + gmtCreateEnd +
        ", gmtModifiedBegin=" + gmtModifiedBegin +
        ", gmtModifiedEnd=" + gmtModifiedEnd +
        "}";
    }
}
